#include<stdio.h>
int main()
{
	int a[2][3] = { 1,2,3,4,5,6 };
	int i = 0, j = 0;
	int b[3][2] = {0};
	for (i = 0; i < 3; i++)
	{
		for (j = 0; j <2; j++)
		{
			b[j][i] = a[i][j];
			printf("%d", b[j][i]);
		}
		printf("\n");
	}
		return 0;
}